package com.bricker.laboratorymanagement.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bricker.laboratorymanagement.business.entity.SysGroup;
import com.bricker.laboratorymanagement.business.model.GroupSelectModel;

import java.util.List;
import java.util.Map;

public interface SysGroupService extends IService<SysGroup> {

    /**
     * 多条件查询小组信息
     */
    public Page<SysGroup> getSysGroup(GroupSelectModel groupSelectModel);

    /**
     * 创建或者修改我的小组
     */
    public Map<String,String> saveOrUpdMySysGroup(Long uId, List<SysGroup> groupList);


    /**
     * 查询我的小组
     */
    public SysGroup getMySysGroup(Long id);

}
